projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ace68e
)
themingengine: Set current point to 0,0 when rendering rotated layout
author
Benjamin Otte
<otte@redhat.com>
Thu, 12 May 2011 21:27:51 +0000
(23:27 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 12 May 2011 21:40:26 +0000
(23:40 +0200)
Otherwise the layout may move to who-knows-where
gtk/gtkthemingengine.c
patch
|
blob
|
history
diff --git
a/gtk/gtkthemingengine.c
b/gtk/gtkthemingengine.c
index 74d2d90abe2a8f75b8886bc87561d07ebbe81e7a..491b9bf0524720b505f01aac452fa3a71d876c50 100644
(file)
--- a/
gtk/gtkthemingengine.c
+++ b/
gtk/gtkthemingengine.c
@@
-2419,6
+2419,7
@@
gtk_theming_engine_render_layout (GtkThemingEngine *engine,
cairo_matrix.y0 += y - rect.y;
cairo_set_matrix (cr, &cairo_matrix);
+ cairo_move_to (cr, 0, 0);
}
else
cairo_move_to (cr, x, y);